package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.SaleList;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SaleListDao {
    void save(SaleList saleListVo);

    List<SaleList> getList(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);

    void deleteById(Integer saleListId);

    void updateState(Integer saleListId);

    List<SaleList> getSaleDataByDay(String sTime, String eTime);

    List<SaleList> getSaleDataByMonth(String sTime, String eTime);

}
